home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / rexx / 2040 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: news.ox.ac.uk!news
  2. From: imc@ecs.ox.ac.uk (Ian Collier)
  3. Newsgroups: comp.lang.rexx
  4. Subject: Re: Q: Cross platform rexx help needed.
  5. Date: 18 Apr 1996 13:02:25 GMT
  6. Organization: Oxford University Computing Laboratory
  7. Distribution: inet
  8. Message-ID: <8207.imc@comlab.ox.ac.uk>
  9. References: <4if6i3$kr2@news2.nkn.net> <4ijjck$aka@sun.sirius.com> <DoqC9G.7KG@stortek.com>
  10. NNTP-Posting-Host: boothp2.ecs.ox.ac.uk
  11. X-Local-Date: Thursday, 18th April 1996 at 2:02pm BST
  12.  
  13. In article <DoqC9G.7KG@stortek.com>, pg@sanitas.stortek.com (Paul Gilmartin)
  14. wrote:
  15. >: /*bin/true
  16. >: eval 'exec /usr/local/bin/rexx $0 $@';
  17. >: Rexx comments can start here...
  18.  
  19. >But why not avoid an extra fork and executable load:
  20.  
  21. >  /*usr/local/bin/rexx "$0" "$@";  exit $?  # REXX
  22. >  Rexx comments can start here...
  23.  
  24. Possibly to avoid having the shell process hang around until the program
  25. finishes.  You only save one exec and no forks since the other one did not
  26. fork the Rexx interpreter.  It probably doesn't make much difference either
  27. way.
  28.  
  29. Ian Collier - imc@comlab.ox.ac.uk - WWW Home Page (including REXX section):
  30. http://www.comlab.ox.ac.uk/oucl/users/ian.collier/index.html
  31.